import baseRequest from "./base";

const user = {
    list: "/wx/app/userInfo/list",
    delete: "/p/userInfo/delete",
};

export const getUserInfo = (data: any): any => baseRequest({url: user.list, data});
export const getApplyUser = (): any => baseRequest({url: user.list, data: {identity: "1"}});
export const geAdUser = (): any => baseRequest({url: user.list, data: {identity: "3"}});
export const deleteUser = openId => baseRequest({url: user.delete, data: {openId}});
